<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
<head>
    <title>JSP - Hello World</title>
</head>
<body>
<h1><%= "Hello World!" %>
</h1>
<br/>
<a href="hello-servlet">Hello Servlet</a>
<br/>
<a href="first">测试两个Servlet之间传递信息</a>
<br/>
<a href="redirect">测试使用Servlet进行重定向</a>
<h1>Submit Your Information</h1>
<form action="submit" method="POST">
    <label for="name">Name:</label>
    <input type="text" id="name" name="name1" required><br><br>

    <label for="email">Email:</label>
    <input type="email" id="email" name="email" required><br><br>

    <button type="submit">Submit</button>
</form>
<br/>
<a href="html/login.html">登录</a>
<br/>
</body>
</html>